package cn.iocoder.yudao.module.wine.controller.admin.messageboard.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户留言板分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MessageBoardPageReqVO extends PageParam {

    @Schema(description = "发送者id", example = "25163")
    private Long sendId;

    @Schema(description = "接收者id", example = "23525")
    private Long receiveId;

    @Schema(description = "留言内容")
    private String content;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "是否已读 1是2否")
    private Integer isRead;

    @Schema(description = "聊天id", example = "25163")
    private Long chatId;
    /**
     * 类型ID:0--系统，1--供求，2--投诉，3--离职，4--会话
     */
    @Schema(description = "类型ID", example = "25163")
    private Integer typeId;
    /**
     *  来源信息id：0--系统，或会话
     */
    @Schema(description = "来源信息id", example = "25163")
    private Long infoId;
}
